package com.bluesky.plum.uimodels.standard.components;

import com.bluesky.plum.uimodels.standard.UIComponent;

public class Button extends UIComponent {

	protected EventListener clickListener;

	public Button() {

	}

	public EventListener getClickListener() {
		return clickListener;
	}

	public void setClickListener(EventListener clickListener) {
		this.clickListener = clickListener;
	}

	public void click() {
		if (clickListener != null)
			clickListener.process();
	}
}
